package Java0107;

import java.util.Map;
import java.util.TreeMap;

public class Test0606 {
    public static void main(String[] args) {
        Map<Integer,String> map = new TreeMap<Integer,String>();
        map.put(1,"A");
        map.put(2,"B");
        map.put(3,"C");
        map.put(4,"b");
        map.put(2,"c");
        map.forEach((k,v)->{
            System.out.println(k+"\t"+v);
        });
    }
}
